<template>
  <div>
    <h1 v-show="flag">v-show盒子</h1>
    <h1 v-if='flag'>v-if盒子</h1>
  </div>
</template>

<script>
export default {
  data() {
    return {
      flag: false,
    };
  },
  methods: {},
  mounted() {},
  watch: {},
  computed: {},
  filters: {},
};
</script>

<style scoped lang="less"></style>
